								<div style="position:absolute;top: 16px;right: 20px;">待发货总金额：AU$<span style="color:red;">{$all_money.available_for_all_money}&nbsp;&nbsp;</span>
								可售总金额：AU$<span style="color:red;">{$all_money.wait_for_all_money}&nbsp;&nbsp;</span>
								虚拟仓总金额：AU$<span style="color:red;">{$all_money.all_money}</span></div>
								<table id="sample-table-2" class="table table-striped table-bordered table-hover">
									<thead>
										<tr>
											<th width="5%">序号</th>
											<th width="10%">51M货号</th>
											<th width="10%">商品条形码</th>
											<th width="15%">商品名称</th>
											<th width="10%">商品中文名</th>
											<th width="10%">单价($)(不含GST)</th>
											<th width="6%">GST($)</th>
											<!-- <th width="8%">待发货库存</th> -->
											
											<if condition="$order eq 'salenumber' and $sort eq 'DESC'">

													<th width="8%" onclick="field_sort('salenumber','ASC')" style="cursor:pointer">待发货库存 <span style="float:right"><i class="icon-chevron-up"></i></span></th>
											<else/>
													<th width="8%" onclick="field_sort('salenumber','DESC')" style="cursor:pointer">待发货库存 <span style="float:right"><i class="icon-chevron-down"></i></span></th>
											</if>


											<if condition="$order eq 'quantity' and $sort eq 'DESC'">
													<th width="8%" onclick="field_sort('quantity','ASC')" style="cursor:pointer">虚拟仓库存 <span style="float:right"><i class="icon-chevron-up"></i></span></th>
											<else/>
													<th width="8%" onclick="field_sort('quantity','DESC')" style="cursor:pointer">虚拟仓库存 <span style="float:right"><i class="icon-chevron-down"></i></span></th>
											</if>


                                           
											<if condition="$order eq 'actual' and $sort eq 'DESC' or $jump_stock eq 1">
													<th width="8%" onclick="field_sort('actual','ASC')" style="cursor:pointer">可售库存 <span style="float:right"><i class="icon-chevron-up"></i></span></th>
											<else/>
													<th width="8%" onclick="field_sort('actual','DESC')" style="cursor:pointer">可售库存 <span style="float:right"><i class="icon-chevron-down"></i></span></th>
											</if>
											<!-- <th width="8%">实际库存</th> -->

                                            
											<!-- <if condition="$order eq 'create_time' and $sort eq 'DESC' ">
													<th width="10%" onclick="field_sort('create_time','ASC')" style="cursor:pointer">采购时间<span style="float:right"><i class="icon-chevron-up"></i> </span></th>
											<else/>
													<th width="10%" onclick="field_sort('create_time','DESC')" style="cursor:pointer">采购时间<span style="float:right"><i class="icon-chevron-down"></i></span></th>
											</if> -->


											<if condition="$order eq 'sum' and $sort eq 'DESC' ">
													<th width="10%" onclick="field_sort('sum','ASC')" style="cursor:pointer">虚拟仓小计(AU$)<span style="float:right"><i class="icon-chevron-up"></i> </span></th>
											<else/>
													<th width="10%" onclick="field_sort('sum','DESC')" style="cursor:pointer">虚拟仓小计(AU$)<span style="float:right"><i class="icon-chevron-down"></i></span></th>
											</if>
										</tr>
									</thead>
									<tbody>
										<volist name="lists['lists']" id="vo">
											<tr>

												<td>
													<a href="#">{$i}</a>
												</td>
												<td>{$vo.goods_sn}</td>
												<td>{$vo.bar_code}</td>
												<td>{$vo.goods_name}</td>
												<td>{$vo.goods_cn_name}</td>
												<td>{$vo.goods_price}</td>
												<td>{$vo.taxrate}</td>

												<td>{$vo.salenumber}</td>
									
												
		
												<td>{$vo.quantity}</td>
									

												<if condition="($vo['quantity']-$vo['salenumber']) elt C('MINIMUM_SYOCK_NUMBER')">
												<td style="color:red;">{$vo['quantity'] - $vo['salenumber']}</td>
												<else/>
												<td>{$vo['quantity'] - $vo['salenumber']}</td>
												</if>
												<!-- <td>{$vo.create_time|date="Y-m-d H:i:s",###}</td> -->
												<td>{$vo.sum_money}</td>
											</tr>
										</volist>
									</tbody>
								</table>
							<!-- <div style="float:right;margin-right:20px">页小计:AU$<span style="color:red;">{$sum_money}</span></div> -->
							<div class="clearfix"></div>
							<div style="float:right;margin-right:20px">虚拟仓小计:AU$<span style="color:red;">{$sum.fictitious_money}</span></div>
							<div style="float:right;margin-right:20px">可售小计:AU$<span style="color:red;">{$sum.wait_for_deliver_money}</span></div>
							<div style="float:right;margin-right:20px">待发货小计:AU$<span style="color:red;">{$sum.available_for_sale_money}</span></div>
							<div class="clearfix"></div>
					<table style="width: 80%; float: right; margin-bottom:10px">
					    <tr>
					        <td style="text-align: right;"> <div class="page_list_ops dataTables_paginate paging_bootstrap pagination" >{$lists['page_html']}</div></td>
					    </tr>
					</table>

<script type="text/javascript">
var where = '{$where}';
//点击表头排序
function field_sort(field,sort){
	var _url = "{:U('MyWarehouse/MyWarehouseList')}";
	var id = "order_list_item_content";
	var res = $.parseJSON(where);
	  res.order = field;
       res.sort = sort;
      _load_html_byurl(_url,id,res);
	}






</script>